CI framework source code reading notes 7 configuration management components Config. php, ciconfig. php
In a flexible and controllable Application, there will inevitably be a large number of controllable parameters (we call it configuration), for
Common configuration file operations include:
L read
L modify
L put the configuration section in web. config in a separate file
L encrypt a Section
L add custom sections
The namespace used to operate the web Configuration file (including machine.
Address: http://space.itpub.net/12639172/viewspace-494054 Add the app. config file to the project:
Right-click the project name and select "add"> "Add new project". In the displayed "Add new project" dialog box, select "add application
CI framework source code reading --------- Config. php file address :. /system/core/Config. php: Managing Configuration 1. member attributes $ config list of all loaded configurations & #20540; 2. member attribute $ is_loaded: list of all loaded
Detailed usage of Web. config in ASP. NET configuration file, asp. netweb. config
This article describes the usage of the ASP. NET configuration file Web. config for your reference. The specific analysis is as follows:
1. Understand the Web. config
First, the OriginRecently, the project started using C #, because the previous use of C + +, so the object-oriented thinking of knowledge is relatively comprehensive, but because it has not been complete, systematic. NET knowledge of the systematic
Original: Use Configsource in the Web. config file to avoid dynamically modifying Web. config to cause ASP. NET Restart (Add a config file to manage user data)As we all know, after modifying the configuration file Web. config in ASP. NET, it causes
I. OverviewSee Address:Https://cloud.spring.io/spring-cloud-static/Edgware.SR3/single/spring-cloud.html#_spring_cloud_configHttps://gitee.com/itmuch/spring-cloud-book1.1, why need unified management configurationCentralized management, different
Spring Cloud Learning-Configuration Center (config)
A brief introduction to Spring Cloud Config
Two write Config Server
Three write config Client
Four manually refresh the configuration using the Refresh Endpoint
Five Spring
Resources: Https://cloud.spring.io/spring-cloud-static/spring-cloud-config/1.4.0.RELEASE/single/spring-cloud-config.htmlhttp://cloud.spring.io/spring-cloud-static/Camden.SR7/#_environment_repositoryGit Backend--git back end The default
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.